require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|
  s.name           = 'react-native-cdy-baseui'
  s.version        = package['version']
  s.summary        = package['description']
  s.description    = package['description']
  s.license        = package['license']
  s.author         = package['author']
  s.homepage       = 'https://gitee.com/dycui/react-native-cdy-baseui.git'
  s.source       = { :git => "https://gitee.com/dycui/react-native-cdy-baseui.git", :tag => "#{s.version}" }

  s.ios.deployment_target = "8.0"
  s.source_files = "ios/**/*.{h,m}"
  s.static_framework = true
  s.frameworks = 'UIKit', 'Foundation'
  s.dependency "React"
end
